package com.workManager.mapper;

import com.workManager.pojo.TbProcurementEstimate;
import com.workManager.pojo.TbProcurementEstimateExample;
import com.workManager.vo.ProcurementEstimateVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface TbProcurementEstimateMapper {
    int countByExample(TbProcurementEstimateExample example);

    int deleteByExample(TbProcurementEstimateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbProcurementEstimate record);

    int insertSelective(TbProcurementEstimate record);

    List<TbProcurementEstimate> selectByExample(TbProcurementEstimateExample example);

    TbProcurementEstimate selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbProcurementEstimate record, @Param("example") TbProcurementEstimateExample example);

    int updateByExample(@Param("record") TbProcurementEstimate record, @Param("example") TbProcurementEstimateExample example);

    int updateByPrimaryKeySelective(TbProcurementEstimate record);

    int updateByPrimaryKey(TbProcurementEstimate record);

    List<ProcurementEstimateVo> query(Map map);

    int makeInvoice(Map map);

    int add(TbProcurementEstimate record);

    int invalid(Map map);
}